package com.fun_ordering.mapper;

import com.fun_ordering.pojo.FoPurchasing;
import com.fun_ordering.pojo.FoPurchasingExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface FoPurchasingMapper {
    int countByExample(FoPurchasingExample example);

    int deleteByExample(FoPurchasingExample example);

    int deleteByPrimaryKey(Integer purId);

    int insert(FoPurchasing record);

    int insertSelective(FoPurchasing record);

    List<FoPurchasing> selectByExample(FoPurchasingExample example);

    FoPurchasing selectByPrimaryKey(Integer purId);

    int updateByExampleSelective(@Param("record") FoPurchasing record, @Param("example") FoPurchasingExample example);

    int updateByExample(@Param("record") FoPurchasing record, @Param("example") FoPurchasingExample example);

    int updateByPrimaryKeySelective(FoPurchasing record);

    int updateByPrimaryKey(FoPurchasing record);
}